import javax.swing.JOptionPane;

/**
 * Utility class to display error popup
 * @author Adam Higinson
 * @version 1.0
 */
 
 public class ErrorGui
 {
 	//Nothing doing
 	public ErrorGui()
 	{
 	}
 	
 	/**
 	 * Shows an error popup
 	 *
 	 * @param title The title for the popup
 	 * @param message The message to display in the popup
 	 */
 	public static void showError(String title, String message)
 	{
 		JOptionPane.showMessageDialog
 									(null, message, title, JOptionPane.ERROR_MESSAGE);
 	}
 }
